package com.plan.base.entity;

import lombok.Data;


import java.io.Serializable;

/**
 * 分页信息
 *
 * @author zcl
 */
@Data
public class Page implements Serializable {

    private static final long serialVersionUID = -393974798696521751L;
    private Integer startIndex;
    private Integer pageSize;
    /**
     * 数据总条数
     */
    private Integer total;

    public Page(Integer startIndex, Integer pageSize, Integer total) {
        this.startIndex = startIndex;
        this.pageSize = pageSize;
        this.total = total;
    }
}
